<form id="<?php echo ForgotPasswordForm::FORM_NAME; ?>" method="POST" action="<?php echo url_for('@forgot'); ?>">
  <h1>Forgot Password</h1>
  <div class="content_wrp">
    <?php if ($sf_request->hasParameter('success')) : ?>
    <div class="clear sucess_box radius">
      <p>Your password has been emailed to you. Please be sure to change your password.</p>
    </div>
    <div>
      <div class="frmbox_fl">
        <div class="clear">
          <input name="" type="button" value="&laquo; Sign In" class="btn gray" onclick="document.location='<?php echo url_for('@signin'); ?>'">
        </div>
      </div>
    </div>
    <?php else : ?>
      <?php echo include_partial('global/errorsList', array('forms' => array($form), 'global' => $errorCollector)); ?>

    <div class="text_con">
      <p>Enter your email address/username and we'll email you a new system generated password. If you can remember your password go back to <a href="<?php echo url_for('@signin'); ?>">Sign In</a> and try again. If you're new to Supertain <a href="<?php echo url_for('@signup'); ?>">Sign Up</a> now!</p>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[ForgotPasswordForm::FIELD_USERNAME]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[ForgotPasswordForm::FIELD_USERNAME]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 1)); ?>
        <p class="info left">Prove your identity by the entering email address you specified during sign up.</p>
      </div>
    </div>
    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear">Security Check<span class="important">*</span></label>
          <?php echo recaptcha_get_html(sfConfig::get('app_recaptcha_api_key_public'));?>
        <p class="info left mb22">Let's make sure you're a human!</p>
      </div>
    </div>
    <div class="frmbox_fl">
      <div class="clear">
        <input name="" type="submit" value="Reset Password" class="btn blue"/>
      </div>
    </div>
    <?php endif; ?>
  </div>
  <?php echo $form['_csrf_token']->render(); ?>
</form>